Platform Explorer / Nuxeo Platform 2021.63

Component org.nuxeo.ecm.platform.rendition.publisher

Requirements

Resolution Order

488
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.rendition.publisher">

  <require>org.nuxeo.ecm.platform.publisher.task.contrib</require>

  <extension
    target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
    point="factory">

    <documentation>
      Factory used to publish a Rendition of the given Document.
    </documentation>
    <publishedDocumentFactory name="RenditionPublication"
      class="org.nuxeo.ecm.platform.rendition.publisher.RenditionPublicationFactory"
      validatorsRule="CoreValidatorsRule" />

  </extension>

  <extension
    target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
    point="tree">

    <documentation>
      PublicationTree that allows retrieving all the published Rendition documents
      in addition to the 'standard' proxies for the given document.
    </documentation>
    <publicationTree name="RenditionPublicationCoreTree"
      class="org.nuxeo.ecm.platform.rendition.publisher.RenditionPublicationCoreTree" />

  </extension>

  <extension
    target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
    point="treeInstance">

    <documentation>
      Override the default PublicationTree used in Nuxeo to use the one handling
      Rendition documents.
    </documentation>
    <publicationTreeConfig name="DefaultSectionsTree"
      tree="RenditionPublicationCoreTree" factory="RenditionPublication"
      title="label.publication.tree.local.sections">
      <parameters>
        <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
        <parameter name="RelativeRootPath">/sections</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>

  </extension>

</component>